package com.bs;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;


////指定扫描的mapper包名
@MapperScan("com.bs.mapper")
//@Import(FdfsClientConfig.class)
@SpringBootApplication
public class VideoSpringbootApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        System.out.println("欢迎来到我的毕业设计");
        SpringApplication.run(VideoSpringbootApplication.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(VideoSpringbootApplication.class);
    }
}
